﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace QLVT.Config
{
    class Config
    {
        private static String connectionString = "Data Source=.;Initial Catalog=QLVT;User ID=sa;Password=123";
        public static SqlConnection getConnection()
        {
            try
            {
                SqlConnection conn = new SqlConnection(connectionString);
                return conn;
            }
            catch (Exception ex)
            {
                return null;
            }
        }
    }
}
